<include file="Public/header.html"/>
<style>
    .layui-table{text-align: center;}
    .layui-table td, .layui-table th{text-align: center;}
    .layui-form-item .layui-input-inline{width: 170px;}
    .boxcolor1{display:inline-block;border-radius:3px;border:1px solid #108ee9;color:#108ee9;background:#bfebff;padding: 0 5px;font-size: 13px;}
    .boxcolor2{display:inline-block;border-radius:3px;border:1px solid #f9902c;color:#f9902c;background:#ffeedd;padding: 0 5px;font-size: 13px;}
    .boxcolor3{display:inline-block;border-radius:3px;border:1px solid #81b82e;color:#81b82e;background:#eefadd;padding: 0 5px;font-size: 13px;}
    .boxcolor4{display:inline-block;border-radius:3px;border:1px solid #f44759;color:#f44759;background:#fcdee1;padding: 0 5px;font-size: 13px;}
    .boxcolor5{display:inline-block;border-radius:3px;border:1px solid #c676fd;color:#c676fd;background:#f4e3ff;padding: 0 5px;font-size: 13px;}
    .boxcolor6{display:inline-block;border-radius:3px;border:1px solid #999;color:#999;background:#fff;padding: 0 5px;font-size: 13px;}
    .fws_color1{display:inline-block;border-radius:3px;color:#fff;background:#008aea;padding: 0 5px;}
    .fws_color2{display:inline-block;border-radius:3px;color:#fff;background:#ef2c2c;padding: 0 5px;}
    .fws_color3{display:inline-block;border-radius:3px;color:#fff;background:#004d98;padding: 0 5px;}
</style>
</head>
<body>
<div class="x-body">
    <form id="delform" class="layui-form">
        <table class="layui-table">
            <thead>
            <tr>
                <th>ID</th>
                <th>阶段</th>
                <th>佣金</th>
                <th>状态</th>
                <th>理由</th>
                <th>审核时间</th>
            </tr>
            </thead>

            <tbody id="formdata">
            <?php foreach($list as $v){ ?>
            <tr>
                <td>{$v.id}</td>
                <td>
                    <?php if($v['true_status']==1){
                        echo '<span class="boxcolor4">T0审核</span>';
                    }elseif($v['true_status']==2){
                        echo '<span class="boxcolor4">T1审核</span>';
                    }elseif($v['true_status']==3){
                        echo '<span class="boxcolor4">T2审核</span>';
                    }elseif($v['true_status']==4){
                        echo '<span class="boxcolor4">T3审核</span>';
                    }elseif($v['true_status']==5){
                        echo '<span class="boxcolor4">T4审核</span>';
                    }elseif($v['true_status']==6){
                        echo '<span class="boxcolor4">T5审核</span>';
                    }?>
                </td>
                <td>{$v.commission}元</td>
                <td>
                <?php if($v['status'] == 2){ ?>
                <font color="red" style="font-weight: 900;">拒绝</font>
                <?php }else if($v['status'] == 1){ ?>
                <font color="green" style="font-weight: 900;">通过</font>
                <?php } ?>
                </td>
                <td>{$v.reason}</td>
                <td><?php echo date('Y-m-d H:i:s', $v['add_time']); ?></td>
            </tr>
            <?php } ?>
            </tbody>
        </table>
    </form>
</div>
<include file="Public/footer.html"/>
</body>
</html>
